package com.choosefine.it.project.model.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by yeliang on 2016/12/17.
 */
public class MaterialFacilitiesDTO {

    @ApiModelProperty(value="项目编码",dataType="String")
    private String projectCode;

    @ApiModelProperty(value="班组详情信息 及 项目的关系的主键",dataType="Integer")
    private Integer teamId;

    @ApiModelProperty(value="供应商用户编码",dataType="String")
    private String supplierUserCode;

    @ApiModelProperty(value="供应商用户名称",dataType="String")
    private String supplierUserName;

    @ApiModelProperty(value="法定代表人",dataType="String")
    private String companyLegal;

    @ApiModelProperty(value="查询类型：查询设施设备材料的区分",dataType="String")
    private Integer type;

    @ApiModelProperty(value="月份（年-月 2016-12）",dataType="String")
    private String month;

    @ApiModelProperty(value="起始页",dataType="Integer")
    private Integer pageNum;
    @ApiModelProperty(value="页大小",dataType="Integer")
    private Integer pageSize;

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String getSupplierUserCode() {
        return supplierUserCode;
    }

    public void setSupplierUserCode(String supplierUserCode) {
        this.supplierUserCode = supplierUserCode;
    }

    public String getSupplierUserName() {
        return supplierUserName;
    }

    public void setSupplierUserName(String supplierUserName) {
        this.supplierUserName = supplierUserName;
    }

    public String getCompanyLegal() {
        return companyLegal;
    }

    public void setCompanyLegal(String companyLegal) {
        this.companyLegal = companyLegal;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        if (pageNum != null){
            this.pageNum = pageNum;
        }else{
            this.pageNum = 1;
        }
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {

        if (pageSize != null){
            this.pageSize = pageSize;
        }else {
            this.pageSize = 10;
        }
    }
}
